package erfgame.core.event;

import java.io.Serializable;

@SuppressWarnings(value="serial")
public class Event implements Serializable{
	private long time;
	private Action action;
	
	public Event( long time, Action action ) {
		this.time = time;
		this.action = action;
	}

	public long getTime() {
		return time;
	}

	public Action getAction() {
		return action;
	}
	
	@Override
	public String toString() {
		return this.getClass().getSimpleName()+"{time="+time+",action="+action+"}";
	}
}
